package com.think.teaching.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.think.teaching.model.QuestionType;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 试题类型 Mapper 接口
 * </p>
 *
 * @author think
 * @since 2020-08-12
 */
public interface QuestionTypeMapper extends BaseMapper<QuestionType> {
	@Select("Select id,type FROM question_type WHERE id=#{type}")
	QuestionType getInfoById(Integer type);
}
